<!DOCTYPE html>
<html lang="en">
<head>
<!--    <meta charset="UTF-8">-->
    <title>图片标签</title>
    <script language="JavaScript">
        function add(){
            alert("a");
        }
    </script>
</head>
<body>
    <input type = button value="add" onclick= add() />
</body>
</html>